import http from "../utils/http";
//获取轮播图数据
export const getSwiper = function (params) {
    return http({
        url: "/api/v2/diy/get_diy/default",
        method: "get",
        params
    });
};

export const updateSwiperList = function (data) {
    return http({
        url: "/user1",
        method: "post",
        // data: data  post put
        data: data
    });
};
